const go/types.constant_
60 uses
go/types (current package)
api.go#L419: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L130: if x.mode != constant_ {
builtins.go#L153: if x.mode == constant_ {
builtins.go#L154: mode = constant_
builtins.go#L168: mode = constant_
builtins.go#L220: if check.recordTypes() && mode != constant_ {
builtins.go#L299: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L347: if x.mode == constant_ && y.mode == constant_ {
builtins.go#L353: if check.recordTypes() && x.mode != constant_ {
builtins.go#L455: if x.mode == constant_ {
builtins.go#L501: if x.mode == constant_ {
builtins.go#L511: if check.recordTypes() && x.mode != constant_ {
builtins.go#L608: if x.mode == constant_ && a.mode == constant_ {
builtins.go#L619: if x.mode != constant_ {
builtins.go#L633: if check.recordTypes() && x.mode != constant_ {
builtins.go#L741: x.mode = constant_
builtins.go#L810: x.mode = constant_
builtins.go#L834: x.mode = constant_
builtins.go#L918: if x.mode != constant_ || !isBoolean(x.typ) {
call.go#L237: if x.mode != invalid && x.mode != constant_ {
call.go#L748: x.mode = constant_
const.go#L23: assert(x.mode == constant_)
const.go#L255: assert(x.mode == constant_)
conversions.go#L21: constArg := x.mode == constant_
conversions.go#L116: } else if x.mode == constant_ && isInteger(x.typ) && allString(T) {
expr.go#L175: if x.mode == constant_ {
expr.go#L403: if x.mode == constant_ {
expr.go#L560: if x.mode == constant_ && y.mode == constant_ {
expr.go#L621: if x.mode == constant_ {
expr.go#L641: if y.mode == constant_ {
expr.go#L682: if x.mode == constant_ {
expr.go#L683: if y.mode == constant_ {
expr.go#L834: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
expr.go#L841: if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) {
expr.go#L852: if x.mode == constant_ && y.mode == constant_ {
index.go#L58: if x.mode == constant_ {
index.go#L278: if x.mode == constant_ {
index.go#L399: if x.mode != constant_ {
index.go#L435: if x.mode == constant_ {
literals.go#L294: if x.mode == constant_ {
operand.go#L29: constant_ // operand is a constant; the operand's typ is a Basic type
operand.go#L44: constant_: "constant",
operand.go#L143: case constant_:
operand.go#L175: if x.mode == constant_ {
operand.go#L292: x.mode = constant_
range.go#L57: mode: constant_,
recording.go#L28: case constant_:
recording.go#L65: if mode == constant_ {
stmt.go#L255: if v.mode != constant_ {
stmt.go#L646: x.mode = constant_
typexpr.go#L108: x.mode = constant_
typexpr.go#L525: if x.mode != constant_ {